package com.ruoyi.eqmonitor.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.eqmonitor.mapper.RiverpatrolMapper;
import com.ruoyi.eqmonitor.domain.Riverpatrol;
import com.ruoyi.eqmonitor.service.IRiverpatrolService;

/**
 * 巡河问题Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-05-23
 */
@Service
public class RiverpatrolServiceImpl extends ServiceImpl<RiverpatrolMapper,Riverpatrol> implements IRiverpatrolService {
    
    @Autowired
    private RiverpatrolMapper riverpatrolMapper;

    @Override
    public Riverpatrol selectRiverpatrolById(Long id){
        return riverpatrolMapper.selectRiverpatrolById(id);
    }
      
    @Override
    public List<Riverpatrol> selectRiverpatrolList(Riverpatrol riverpatrol){
        return riverpatrolMapper.selectRiverpatrolList(riverpatrol);
    }
}
